API Reference > Other Classes > OdSlots Template > OdSlots Operators > [] Operator > OdSlots::[] Operator (OdSlotId)
OdSlots::[] Operator (OdSlotId)
Syntax
C++
const TVal& operator [](OdSlotId slotId) const;
Parameters 
Description 
OdSlotId slotId 
[in] Id of the slot. 

Returns emptySlotValue() if you access an empty Slot in this Slots object. 

 

Copyright © 2002–2020. Open Design Alliance. All rights reserved.